MotorsVehiclesListing\Features\MultiplePlan A

Total Complexity 71
Dependencies 1
Dependents 5
Total lines 347
Lines of code 255
Logical lines of code 130
Comment lines 10
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
buildPlansMeta()
C
37 24 65
existSlotByPlanId()
A
51 10 23
__construct()
S
58 7 13
canUpdateBasedOnSubscriptions()
S
58 4 15
updatePlanMeta()
S
55 2 21
updateListingStatus()
S
57 2 18
createTable()
S
58 2 18
getListingIdsByPlanId()
S
64 3 9
addPlanMeta()
S
58 1 16
user_restrictions()
S
71 2 6
getCurrentPlan()
S
66 2 8
checkPlanMeta()
S
66 2 8
deletePlanMeta()
S
67 2 7
getUserSubscriptions()
S
68 2 7
getUsedQuotaByPlanId()
S
66 2 8
disableExpiredListings()
S
91 1 2
getUsedQuota()
S
71 1 5
isMultiplePlans()
S
80 1 3
getPlans()
S
80 1 3